package com.cmict.data.infra.convert.rdbtabledraft;

import java.util.*;

import com.cmict.data.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.cmict.data.infra.controller.admin.rdbtabledraft.vo.*;
import com.cmict.data.infra.dal.dataobject.rdbtabledraft.RdbTableDraftDO;

/**
 * 草稿 Convert
 *
 * @author awesome1114
 */
@Mapper
public interface RdbTableDraftConvert {

    RdbTableDraftConvert INSTANCE = Mappers.getMapper(RdbTableDraftConvert.class);

    RdbTableDraftDO convert(RdbTableDraftCreateReqVO bean);

    RdbTableDraftDO convert(RdbTableDraftUpdateReqVO bean);

    RdbTableDraftRespVO convert(RdbTableDraftDO bean);

    List<RdbTableDraftRespVO> convertList(List<RdbTableDraftDO> list);

    PageResult<RdbTableDraftRespVO> convertPage(PageResult<RdbTableDraftDO> page);

    List<RdbTableDraftExcelVO> convertList02(List<RdbTableDraftDO> list);

}
